package com.dao.secondary.device;
import com.model.domain.device.GetDevicePmdBaseInfoDO;
import com.model.pojo.device.DevicePmdBaseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DevicePmdBaseInfoMapper {
    int deleteByPrimaryKey(@Param("devicePmdBaseInfoId") Long devicePmdBaseInfoId);

    int insert(DevicePmdBaseInfo record);

    int insertSelective(DevicePmdBaseInfo record);

    DevicePmdBaseInfo selectByPrimaryKey(@Param("id") Long id);
    DevicePmdBaseInfo selectByDtu(@Param("dtu") String dtu);

    int updateByPrimaryKeySelective(DevicePmdBaseInfo record);

    int updateByPrimaryKey(DevicePmdBaseInfo record);

    List<DevicePmdBaseInfo> selectList(GetDevicePmdBaseInfoDO getdevicePmdBaseInfoDO);
    List<DevicePmdBaseInfo> selectBySim(@Param("sim") String sim);
    void insertListSelective(List<DevicePmdBaseInfo> devicePmdBaseInfoList);

    void updateListSelective(List<DevicePmdBaseInfo> devicePmdBaseInfoList);

    int has(@Param("devicePmdBaseInfoId") Long devicePmdBaseInfoId, @Param("isDelete") Byte isDelete);
}